package com.cn.zmc.design.chian.service.impl;

import com.cn.zmc.design.chian.domain.ChainDto;
import org.springframework.stereotype.Service;

@Service
public class ChainServiceB extends AbstractChainService{

    public void doExecute(ChainDto chainDto) {
        chainDto.setAge((int)(Math.random() * 100));
        System.out.println(chainDto.toString());
        System.out.println("ChainServiceB");
    }
}
